﻿@model List<DTD.Web.Models.SelectableCategory>

<ul class="tabs left">
@foreach (var selCategory in Model)
{
    if (selCategory.Selected)
    {
        <li class="current"><a class="#tabr1" href="/Home/Index/@selCategory.Category.Id">@selCategory.Category.Title</a></li>
    }
    else 
    {
        <li><a class="#tabr1" href="/Home/Index/@selCategory.Category.Id">@selCategory.Category.Title</a></li>
    }
}
</ul>